import request from '@/util/request'
// 查询全部活动
export const getActivity = (status:number, pageCurrent:number, pageSize:number) => {
  return request({
    url: `/volunteers/page/${status}/${pageCurrent}/${pageSize}`
  })
}

// 更新活动
export const updateActivity = (activity:any) => {
  return request({
    url: '/volunteers',
    method: 'put',
    data: activity
  })
}
